"""
@Time : 2021/9/16 15:17 
@Author : 常雷
@File : t_33装饰器重复执行函数.py 
@Software: PyCharm
"""

def wrapper(func):
    def inner(*args, **kwargs):
        n = 5
        while n > 0:
            ret = func(*args, **kwargs)
            n -= 1

        return ret

    return inner

@wrapper
def han():
    print("我要打豆豆")
han()